﻿using BCCommon.Extensions;
using BCCommon.TMS.Invoice;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.User.UserInvoiceThin
{
    /// <summary>
    /// 用户发票薄
    /// </summary>
    public class UserInvoiceThinDto
    {
        /// <summary>
        /// 用户发票薄Id
        /// </summary>
        public long UserInvoiceThinId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 发票抬头类型
        /// </summary>
        public InvoiceTitleType InvoiceTitleType { get; set; }

        /// <summary>
        /// 发票抬头类型描述
        /// </summary>
        public string InvoiceTitleTypeStr { get { return this.InvoiceTitleType.GetDescriptionString(); } }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 纳税人识别号
        /// </summary>
        public string BusinessLicenseNo { get; set; }

        /// <summary>
        /// 对公账户卡号
        /// </summary>
        public string CompanyFinanceNo { get; set; }

        /// <summary>
        /// 公司电话
        /// </summary>
        public string CompanyPhone { get; set; }

        /// <summary>
        /// 公司注册地址
        /// </summary>
        public string CompanyAddress { get; set; }

        /// <summary>
        /// 开户行名称
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
